<template name="adminMenu">
  {{#if isAdmin}}
    <div class="dropdown header-submodule admin-menu">
      <a class="admin dropdown-top-level" href="/">{{_ "admin"}}</a>
      <div class="dropdown-menu">
        <ul role="menu" aria-labelledby="dLabel">
          {{#each menu}}
            {{> UI.dynamic template=menuItem data=this}}
          {{/each}}
        </ul>
      </div>
    </div>
  {{/if}}
</template>